﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkFlowCommon
{
    //这个是一个修改
    public class CST
    {//修改2
        //session 
        public const string SESSION_DB = "db"; 
        public const string SESSION_CLIENT_CONNSTRING = "client_connstring";
        public const string SESSION_LOGIN_ID_GLOBAL = "loginIDglobal";
        public const string SESSION_AVAILABLE_TABS = "available_tabs";
        public const string SESSION_USER_NAME = "user_name";
        public const string SESSION_USER_ROLE = "user_role";


        public const string Language = "zh-CN";
        public const char SEPARATOR = '¤';

        //cookies
        public const string COOKIE_USER_SETTINGS = "userSettings";
        public const string COOKIE_CURRENT_YEAR = "currYear";
        public const string COOKIE_NEW_YEAR = "newyear";
        public const string COOKIE_LOGIN = "current_login";
        public const string COOKIE_CURRENT_SITE = "currsite";
        public const string COOKIE_CURRENT_PERIOD = "currper";


        #region "Licence"
        public const int VERSION_FREE = -1;
        public const int VERSION_ACCESS = 0;
        public const int VERSION_FULL = 1;
        public const int VERSION_PRE = 2; 
        #endregion 
    }
}
